#include <bits/stdc++.h>

using namespace std;

int main() {
    int n = 100;
    int flag = 0;

    for (int i = 1; i <= n; i++) {
        if (i % 3 == 0 && i % 5 == 0 && i % 7 == 0) {
            cout << i << endl;
            flag = 1;
            break;
        }
    }

    if (flag == 1) {
        cout << "found!" << endl;
    } else {
        cout << "not found!" << endl;
    }
}
